<h1>Create Questionnaire</h1>

<%= form_tag :action => 'create' %>

<div id="formTable">
  <table>
    <tr>
      <td><b>Data collection:</b></td>
      <td><%= @data_collection.data_collection_type %></td>
    </tr>


    <tr>
      <td><b>Questionnaire type:</b></td>
      <td><%= collection_select(:questionnaire, :questionnaire_name_id, QuestionnaireName.find(:all), :id, :name) %> </td>
    </tr>
  </table>

  <%= hidden_field :questionnaire, :data_collection_id, :value => @data_collection.id %>

  <%= submit_tag "Save" %>

</div>

